//
//  BRCoreViewController.m
//  BirthdayRemainder
//
//  Created by Vu Thanh Vien on 2/9/14.
//  Copyright (c) 2014 Vu Thanh Vien. All rights reserved.
//

#import "BRCoreViewController.h"

@interface BRCoreViewController ()

@end

@implementation BRCoreViewController
//code on page 134:

- (void)viewDidLoad
{
    [super viewDidLoad];
    self.view.backgroundColor = [UIColor grayColor];
	
}

-(IBAction)cancelAndDismiss:(id)sender
{
    
    NSLog(@"Cancel!");
    [self dismissViewControllerAnimated:YES completion:^{
        //view controller dismiss animation completed
        
    }];
}
-(IBAction)saveAndDismiss:(id)sender
{
    NSLog(@"Save");
    NSLog(@"test svnX");
    NSLog(@"Successed");
    [self dismissViewControllerAnimated:YES completion:^{
      //view controller dismiss animation completed
    }];
}


- (void)didReceiveMemoryWarning
{
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

@end
